<!--
 * @company : 版权所属 四川北星惯牌科技有限公司
 * @contact : 刘经理 19326416371
 -->
<script>
	import {
		VersionUpdate
	} from '@/hooks/useVersionUpdate.js';
	export default {
		globalData: {
			userName: '白居易'
		},
		onLaunch: function() {
			
			// console.log('App Launch', this.globalData)
			if (uni.getSystemInfoSync().platform !== "devtools") {
				console.log = () => {};
				console.info = () => {};
			}
		},
		onShow: function() {
			// #ifdef MP
			VersionUpdate() //小程序模式下检测小程序更新
			// #endif
		},
		onHide: function() { //退出程序
		}
	}
</script>

<style lang="scss">
	page {
		background-color: $page-bg-color;
	}

	text {
		word-wrap: break-word;
	}

	@import "@/uni_modules/uview-plus/index.scss";
	@import "@/common/app.css";
	
	@import url('/common/ali.css');
	
	.aliIcon {
		font-family: iconfont;
	}
</style>